#include"util.hpp"
#include<iostream>
#include<string>
#include<vector>
#include"hot.hpp"
#include"config.hpp"
#include"data.hpp"
#include"service.hpp"

cloud::DataManager * _data;

void HotTest(){	
	cloud::HotManager hot;
	hot.RunModule();
	return ;
}
void servicetest(){
	cloud::Service svc;
	svc.RunModule();	
	return ;
}
int main(int argc,char * argv[])
{
	_data=new cloud::DataManager();
	std:: thread thread_hot_manager(HotTest);
	std:: thread thread_service_manager(servicetest);
	thread_hot_manager.join();
	thread_service_manager.join();
	return 0;
}
